import {
	req,
	uploadFile
} from '../../utils/req.js';
export default {
	edit_lat_lng(param) {
		return req.get("api/app/Live/edit_lat_lng",param)
	},
	getLiveUrl(param){
		return req.get("api/app/Live/getUrl",param)
	},
	getLiveInfo(param){
		return req.post("api/app/Live/getLiveRoom", param)
	},
	bindClient(param){
		return req.get("api/appuser/user/bindClient", param)
	},
	getLiveCateList(param) {
		return req.get("api/appuser/user/cate_list", param)
	},
	getLivelist(param) {
		return req.get("api/app/Live/live_list", param)
	},
	getUserLeave(param) {
		return req.get("api/appuser/user/user_leave", param)
	},
	getToken(param) {
		return req.get("/api/appuser/user/gettoken", param)
	},
	sendMsg(param) {
		return req.get("api/app/Live/user_list_send", param)
	},
	actionType(param) {
		return req.get("/api/appuser/user/action_type", param)
	},
	actionComplain(param) {
		return req.get("/api/appuser/user/action_complain", param)
	},
	liveGiftList(param) {
		return req.get("/api/appuser/user/live_gift_list", param)
	},
	massageActionTemp(param) {
		return req.get("/api/appuser/user/massage_action_temp", param)
	},
	getslistSend(param) {
		return req.get("api/app/Live/getslist_send", param)
	},
	getLiveConfig(param) {
		return req.post("api/appuser/user/getconfg", param)
	},
	//用户离开
	user_out(param) {
		return req.post("api/appuser/user/user_out", param)
	},
	//拒绝连麦
	userListSend(param) {
		return req.post("/api/appuser/user/lienmai", param)
	},
	//同意连麦
	lienmaiuser(param) {
		return req.post("/api/appuser/user/lienmaiuser", param)
	},
	getPushUrl(param) {
		return req.post("/massage/test/test", param)
	},
	// 发送连麦邀请
	getLianmai(param) {
		return req.post("/api/app/Live/lienmai", param)
	},
	// 用户同意连麦
	getUserConfirmLink(param) {
		return req.post("/api/app/Live/UserConfirmLink", param)
	},
	// 用户同意连麦
	getUserCancelLink(param) {
		return req.post("/api/app/Live/UserCancelLink", param)
	}
	
}